FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wg

RUN mkdir -p /gg-fast/server
RUN mkdir -p /gg-fast/server/logs
RUN mkdir -p /gg-fast/server/temp

WORKDIR /gg-fast/server

EXPOSE 8060

ADD ./target/gg-admin.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
